<script setup>
import Header from '../components/navHeader.vue'
import Aside from "@/components/aside.vue";
</script>

<template>
  <div class="common-layout">
    <el-container>
      <el-header>
        <Header />
      </el-header>
      <el-container>
        <el-aside width="200px">
          <Aside />
        </el-aside>
        <el-main>
          <RouterView />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<style lang="less" scoped>
.common-layout {
  height: 100%;
  .el-header {
    height: 60px !important;
  }
  .el-container {
    height: 100%;
  }
}
</style>